

<!doctype html>

<html lang="en" data-content_root="../">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

    <title>skidl.part_query module &#8212; SKiDL 2.2.0 documentation</title>
    <link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
    <link rel="stylesheet" type="text/css" href="../_static/bizstyle.css?v=a66e137f" />
    
    <script src="../_static/documentation_options.js?v=b21de401"></script>
    <script src="../_static/doctools.js?v=9bcbadda"></script>
    <script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
    <script src="../_static/bizstyle.js"></script>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <!--[if lt IE 9]>
    <script src="_static/css3-mediaqueries.js"></script>
    <![endif]-->
  </head><body>
    <h1 id="site-title"><a href="../../../"><img src="../../../images/slim_banner.png" width="100%"></a></h1>
    
    <div class="related" role="navigation" aria-label="Related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="nav-item nav-item-0"><a href="../index.html">SKiDL 2.2.0 documentation</a> &#187;</li>
        <li class="nav-item nav-item-this"><a href="">skidl.part_query module</a></li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <section id="module-skidl.part_query">
<span id="skidl-part-query-module"></span><h1>skidl.part_query module<a class="headerlink" href="#module-skidl.part_query" title="Link to this heading">¶</a></h1>
<p>Functions for finding/displaying parts and footprints.</p>
<p>This module provides utilities to search for electronic parts and footprints
across libraries, and to display their details. It includes support for
regular expression searches and filtering on different properties.</p>
<dl class="py class">
<dt class="sig sig-object py" id="skidl.part_query.PartSearchDB">
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">skidl.part_query.</span></span><span class="sig-name descname"><span class="pre">PartSearchDB</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">db_dir</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">db_name</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tool</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/skidl/part_query.html#PartSearchDB"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#skidl.part_query.PartSearchDB" title="Link to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/3.13/library/functions.html#object" title="(in Python v3.13)"><code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></a></p>
<p>Manage a parts search SQLite database.</p>
<dl class="simple">
<dt>The DB contains two tables:</dt><dd><ul class="simple">
<li><p>libraries(lib_file TEXT PRIMARY KEY, mtime REAL)</p></li>
<li><p>parts(id INTEGER PRIMARY KEY, part_name TEXT, lib_file TEXT, search_text TEXT)</p></li>
</ul>
</dd>
</dl>
<p>The DB path is taken from skidl.config.part_search_db_dir. If that attribute is
not present, defaults to the current directory.</p>
<dl class="py method">
<dt class="sig sig-object py" id="skidl.part_query.PartSearchDB.add_lib">
<span class="sig-name descname"><span class="pre">add_lib</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">lib_path</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tool</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/skidl/part_query.html#PartSearchDB.add_lib"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#skidl.part_query.PartSearchDB.add_lib" title="Link to this definition">¶</a></dt>
<dd><p>Parse the library file and insert parts into parts table. Update library mtime.
lib_path should be an absolute path (or something SchLib can use).
If the library is already in the database, then update it and all its parts.</p>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="skidl.part_query.PartSearchDB.add_libs">
<span class="sig-name descname"><span class="pre">add_libs</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">lib_files</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/skidl/part_query.html#PartSearchDB.add_libs"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#skidl.part_query.PartSearchDB.add_libs" title="Link to this definition">¶</a></dt>
<dd><p>Add or replace libraries listed in lib_files (iterable of filenames).
Each lib is added or updated in the libraries table and
its parts are added or updated in the parts table.</p>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="skidl.part_query.PartSearchDB.close">
<span class="sig-name descname"><span class="pre">close</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/skidl/part_query.html#PartSearchDB.close"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#skidl.part_query.PartSearchDB.close" title="Link to this definition">¶</a></dt>
<dd><p>Close the database connection.</p>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="skidl.part_query.PartSearchDB.load_from_lib_search_paths">
<span class="sig-name descname"><span class="pre">load_from_lib_search_paths</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/skidl/part_query.html#PartSearchDB.load_from_lib_search_paths"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#skidl.part_query.PartSearchDB.load_from_lib_search_paths" title="Link to this definition">¶</a></dt>
<dd><p>Load all libraries from the current skidl.lib_search_paths for the current tool.</p>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="skidl.part_query.PartSearchDB.rmv_lib">
<span class="sig-name descname"><span class="pre">rmv_lib</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">lib_file</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/skidl/part_query.html#PartSearchDB.rmv_lib"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#skidl.part_query.PartSearchDB.rmv_lib" title="Link to this definition">¶</a></dt>
<dd><p>Remove a single library file and its parts from the database.</p>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="skidl.part_query.PartSearchDB.rmv_libs">
<span class="sig-name descname"><span class="pre">rmv_libs</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">lib_files</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/skidl/part_query.html#PartSearchDB.rmv_libs"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#skidl.part_query.PartSearchDB.rmv_libs" title="Link to this definition">¶</a></dt>
<dd><p>Remove libraries listed in lib_files (iterable of filenames).
Each lib and its parts are removed from the database.</p>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="skidl.part_query.PartSearchDB.search">
<span class="sig-name descname"><span class="pre">search</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">query</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">limit</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/skidl/part_query.html#PartSearchDB.search"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#skidl.part_query.PartSearchDB.search" title="Link to this definition">¶</a></dt>
<dd><p>Search parts for the given query string.
Supports quoted phrases and ‘|’ as OR.</p>
<p>Returns a list of (part_name, lib_file) tuples for matches.</p>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="skidl.part_query.PartSearchDB.update_libs">
<span class="sig-name descname"><span class="pre">update_libs</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/skidl/part_query.html#PartSearchDB.update_libs"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#skidl.part_query.PartSearchDB.update_libs" title="Link to this definition">¶</a></dt>
<dd><p>For every library recorded in the DB, compare filesystem mtime; if different, update.</p>
</dd></dl>

</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="skidl.part_query.search">
<span class="sig-prename descclassname"><span class="pre">skidl.part_query.</span></span><span class="sig-name descname"><span class="pre">search</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">terms</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tool</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">fmt</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">file</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#skidl.part_query.search" title="Link to this definition">¶</a></dt>
<dd><p>Print a list of parts with the regex terms within their name, alias, description or keywords.</p>
<p>Searches through all available libraries for parts matching the given terms and prints
the results to the console.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>terms</strong> (<a class="reference external" href="https://docs.python.org/3.13/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Search terms separated by spaces (AND) or | (OR) to match against part attributes.</p></li>
<li><p><strong>tool</strong> (<a class="reference external" href="https://docs.python.org/3.13/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – The ECAD tool format for the libraries to search.
Defaults to the currently configured tool.</p></li>
<li><p><strong>fmt</strong> (<a class="reference external" href="https://docs.python.org/3.13/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – A format string for displaying each part.
Defaults to “{lib_name}: {part_name} ({description})”.</p></li>
<li><p><strong>file</strong> (<em>file-like object</em><em>, </em><em>optional</em>) – The output stream to write results to.
Defaults to sys.stdout.</p></li>
</ul>
</dd>
<dt class="field-even">Returns<span class="colon">:</span></dt>
<dd class="field-even"><p>Results are printed to the console.</p>
</dd>
<dt class="field-odd">Return type<span class="colon">:</span></dt>
<dd class="field-odd"><p>None</p>
</dd>
</dl>
</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="skidl.part_query.search_footprints">
<span class="sig-prename descclassname"><span class="pre">skidl.part_query.</span></span><span class="sig-name descname"><span class="pre">search_footprints</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">terms</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tool</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/skidl/part_query.html#search_footprints"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#skidl.part_query.search_footprints" title="Link to this definition">¶</a></dt>
<dd><p>Print a list of footprints with the regex term within their description/tags.</p>
<p>Searches through all available footprint libraries for footprints matching
the given terms and prints the results to the console.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>terms</strong> (<a class="reference external" href="https://docs.python.org/3.13/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Space-separated search terms to match against footprint attributes.</p></li>
<li><p><strong>tool</strong> (<a class="reference external" href="https://docs.python.org/3.13/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – The ECAD tool format for the libraries to search.
Defaults to the currently configured tool.</p></li>
</ul>
</dd>
<dt class="field-even">Returns<span class="colon">:</span></dt>
<dd class="field-even"><p>Results are printed to the console.</p>
</dd>
<dt class="field-odd">Return type<span class="colon">:</span></dt>
<dd class="field-odd"><p>None</p>
</dd>
</dl>
</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="skidl.part_query.search_footprints_iter">
<span class="sig-prename descclassname"><span class="pre">skidl.part_query.</span></span><span class="sig-name descname"><span class="pre">search_footprints_iter</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">terms</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tool</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/skidl/part_query.html#search_footprints_iter"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#skidl.part_query.search_footprints_iter" title="Link to this definition">¶</a></dt>
<dd><p>Return an iterator over footprints that match the regex terms.</p>
<p>This generator function yields information about libraries being searched and footprints
found that match the search terms.</p>
<dl class="field-list">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>terms</strong> (<a class="reference external" href="https://docs.python.org/3.13/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Space-separated search terms to match against footprint attributes.</p></li>
<li><p><strong>tool</strong> (<a class="reference external" href="https://docs.python.org/3.13/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – The ECAD tool format for the footprint libraries to search.
Defaults to the currently configured tool.</p></li>
</ul>
</dd>
<dt class="field-even">Yields<span class="colon">:</span></dt>
<dd class="field-even"><p><em>tuple</em> –</p>
<dl class="simple">
<dt>Either progress information as (“LIB”, lib_name, index, total)</dt><dd><p>or footprint information as (“MODULE”, lib_name, module_text, module_name).</p>
</dd>
</dl>
</dd>
</dl>
</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="skidl.part_query.search_parts">
<span class="sig-prename descclassname"><span class="pre">skidl.part_query.</span></span><span class="sig-name descname"><span class="pre">search_parts</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">terms</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tool</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">fmt</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">file</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/skidl/part_query.html#search_parts"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#skidl.part_query.search_parts" title="Link to this definition">¶</a></dt>
<dd><p>Print a list of parts with the regex terms within their name, alias, description or keywords.</p>
<p>Searches through all available libraries for parts matching the given terms and prints
the results to the console.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>terms</strong> (<a class="reference external" href="https://docs.python.org/3.13/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Search terms separated by spaces (AND) or | (OR) to match against part attributes.</p></li>
<li><p><strong>tool</strong> (<a class="reference external" href="https://docs.python.org/3.13/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – The ECAD tool format for the libraries to search.
Defaults to the currently configured tool.</p></li>
<li><p><strong>fmt</strong> (<a class="reference external" href="https://docs.python.org/3.13/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – A format string for displaying each part.
Defaults to “{lib_name}: {part_name} ({description})”.</p></li>
<li><p><strong>file</strong> (<em>file-like object</em><em>, </em><em>optional</em>) – The output stream to write results to.
Defaults to sys.stdout.</p></li>
</ul>
</dd>
<dt class="field-even">Returns<span class="colon">:</span></dt>
<dd class="field-even"><p>Results are printed to the console.</p>
</dd>
<dt class="field-odd">Return type<span class="colon">:</span></dt>
<dd class="field-odd"><p>None</p>
</dd>
</dl>
</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="skidl.part_query.show">
<span class="sig-prename descclassname"><span class="pre">skidl.part_query.</span></span><span class="sig-name descname"><span class="pre">show</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">lib</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">part_name</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tool</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#skidl.part_query.show" title="Link to this definition">¶</a></dt>
<dd><p>Print the I/O pins for a given part in a library.</p>
<p>Creates a template Part object that can be inspected to see its pins and properties.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>lib</strong> – Either a SchLib object or the name of a library.</p></li>
<li><p><strong>part_name</strong> (<a class="reference external" href="https://docs.python.org/3.13/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the part in the library.</p></li>
<li><p><strong>tool</strong> (<a class="reference external" href="https://docs.python.org/3.13/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – The ECAD tool format for the library.
Defaults to the currently configured tool.</p></li>
</ul>
</dd>
<dt class="field-even">Returns<span class="colon">:</span></dt>
<dd class="field-even"><p>A template Part object if found, otherwise None.</p>
</dd>
<dt class="field-odd">Return type<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="skidl.part.html#skidl.part.Part" title="skidl.part.Part">Part</a></p>
</dd>
</dl>
</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="skidl.part_query.show_footprint">
<span class="sig-prename descclassname"><span class="pre">skidl.part_query.</span></span><span class="sig-name descname"><span class="pre">show_footprint</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">lib</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">module_name</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tool</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/skidl/part_query.html#show_footprint"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#skidl.part_query.show_footprint" title="Link to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="skidl.part_query.show_part">
<span class="sig-prename descclassname"><span class="pre">skidl.part_query.</span></span><span class="sig-name descname"><span class="pre">show_part</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">lib</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">part_name</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tool</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/skidl/part_query.html#show_part"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#skidl.part_query.show_part" title="Link to this definition">¶</a></dt>
<dd><p>Print the I/O pins for a given part in a library.</p>
<p>Creates a template Part object that can be inspected to see its pins and properties.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>lib</strong> – Either a SchLib object or the name of a library.</p></li>
<li><p><strong>part_name</strong> (<a class="reference external" href="https://docs.python.org/3.13/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the part in the library.</p></li>
<li><p><strong>tool</strong> (<a class="reference external" href="https://docs.python.org/3.13/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – The ECAD tool format for the library.
Defaults to the currently configured tool.</p></li>
</ul>
</dd>
<dt class="field-even">Returns<span class="colon">:</span></dt>
<dd class="field-even"><p>A template Part object if found, otherwise None.</p>
</dd>
<dt class="field-odd">Return type<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="skidl.part.html#skidl.part.Part" title="skidl.part.Part">Part</a></p>
</dd>
</dl>
</dd></dl>

</section>


            <div class="clearer"></div>
          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="Main">
        <div class="sphinxsidebarwrapper">
  <div>
    <h3><a href="../index.html">Table of Contents</a></h3>
    <ul>
<li><a class="reference internal" href="#">skidl.part_query module</a><ul>
<li><a class="reference internal" href="#skidl.part_query.PartSearchDB"><code class="docutils literal notranslate"><span class="pre">PartSearchDB</span></code></a><ul>
<li><a class="reference internal" href="#skidl.part_query.PartSearchDB.add_lib"><code class="docutils literal notranslate"><span class="pre">PartSearchDB.add_lib()</span></code></a></li>
<li><a class="reference internal" href="#skidl.part_query.PartSearchDB.add_libs"><code class="docutils literal notranslate"><span class="pre">PartSearchDB.add_libs()</span></code></a></li>
<li><a class="reference internal" href="#skidl.part_query.PartSearchDB.close"><code class="docutils literal notranslate"><span class="pre">PartSearchDB.close()</span></code></a></li>
<li><a class="reference internal" href="#skidl.part_query.PartSearchDB.load_from_lib_search_paths"><code class="docutils literal notranslate"><span class="pre">PartSearchDB.load_from_lib_search_paths()</span></code></a></li>
<li><a class="reference internal" href="#skidl.part_query.PartSearchDB.rmv_lib"><code class="docutils literal notranslate"><span class="pre">PartSearchDB.rmv_lib()</span></code></a></li>
<li><a class="reference internal" href="#skidl.part_query.PartSearchDB.rmv_libs"><code class="docutils literal notranslate"><span class="pre">PartSearchDB.rmv_libs()</span></code></a></li>
<li><a class="reference internal" href="#skidl.part_query.PartSearchDB.search"><code class="docutils literal notranslate"><span class="pre">PartSearchDB.search()</span></code></a></li>
<li><a class="reference internal" href="#skidl.part_query.PartSearchDB.update_libs"><code class="docutils literal notranslate"><span class="pre">PartSearchDB.update_libs()</span></code></a></li>
</ul>
</li>
<li><a class="reference internal" href="#skidl.part_query.search"><code class="docutils literal notranslate"><span class="pre">search()</span></code></a></li>
<li><a class="reference internal" href="#skidl.part_query.search_footprints"><code class="docutils literal notranslate"><span class="pre">search_footprints()</span></code></a></li>
<li><a class="reference internal" href="#skidl.part_query.search_footprints_iter"><code class="docutils literal notranslate"><span class="pre">search_footprints_iter()</span></code></a></li>
<li><a class="reference internal" href="#skidl.part_query.search_parts"><code class="docutils literal notranslate"><span class="pre">search_parts()</span></code></a></li>
<li><a class="reference internal" href="#skidl.part_query.show"><code class="docutils literal notranslate"><span class="pre">show()</span></code></a></li>
<li><a class="reference internal" href="#skidl.part_query.show_footprint"><code class="docutils literal notranslate"><span class="pre">show_footprint()</span></code></a></li>
<li><a class="reference internal" href="#skidl.part_query.show_part"><code class="docutils literal notranslate"><span class="pre">show_part()</span></code></a></li>
</ul>
</li>
</ul>

  </div>
  <div role="note" aria-label="source link">
    <h3>This Page</h3>
    <ul class="this-page-menu">
      <li><a href="../_sources/rst_output/skidl.part_query.rst.txt"
            rel="nofollow">Show Source</a></li>
    </ul>
   </div>
<search id="searchbox" style="display: none" role="search">
  <h3 id="searchlabel">Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>
    </div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="Related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="nav-item nav-item-0"><a href="../index.html">SKiDL 2.2.0 documentation</a> &#187;</li>
        <li class="nav-item nav-item-this"><a href="">skidl.part_query module</a></li> 
      </ul>
    </div>
    <div class="footer" role="contentinfo">
    &#169; Copyright 2016-2025, Dave Vandenbout.
      Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.
    </div>
  </body>
</html>